package com.hospital.workstation.service;

import com.hospital.workstation.domain.HisNurseRows;
import com.hospital.workstation.domain.vo.HisNurseRowsVo;
import com.hospital.workstation.domain.bo.HisNurseRowsBo;
import com.hospital.common.core.page.TableDataInfo;
import com.hospital.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 护理记录Service接口
 *
 * @author whb
 * @date 2023-03-09
 */
public interface IHisNurseRowsService {

    /**
     * 查询护理记录
     */
    HisNurseRowsVo queryById(Long id);

    /**
     * 查询护理记录列表
     */
    TableDataInfo<HisNurseRowsVo> queryPageList(HisNurseRowsBo bo, PageQuery pageQuery);

    /**
     * 查询护理记录列表
     */
    List<HisNurseRowsVo> queryList(HisNurseRowsBo bo);

    /**
     * 新增护理记录
     */
    Boolean insertByBo(HisNurseRowsBo bo);

    /**
     * 修改护理记录
     */
    Boolean updateByBo(HisNurseRowsBo bo);

    /**
     * 校验并批量删除护理记录信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
